Thumb

JavaScript Reserved Words

1/21/2020 2:09:28 AM

In the JavaScript have some reserved keyword which is pre define in the JavaScript. This reserved keyword we cannot use like our variables name, function name, or other propriety name etc. JavaScript reserved keyword we only use our need but we can’t write our won code with reserved keyword. When choosing names for your JavaScript variables, avoid these reserved words. Now given bellow some reserved keyword:

abstract  

else  

instanceof  

super  

boolean  

enum  

int  

switch  

break  

export  

interface  

synchronized  

byte  

extends  

let  

this  

case  

false  

long  

throw  

catch  

final  

native  

throws  

char  

finally,  

new  

transient  

class  

float  

null  

true  

const  

for  

package  

try  

continue  

function  

private  

typeof  

debugger  

goto  

protected  

var  

default  

if  

public  

void  

delete  

implements  

return  

volatile  

do  

import  

short  

while  

double  

in  

static  

with  

All in the keyword are Reserved keyword we must and should avoid this keyword when write the JavaScript code.